package com.richard.base.starter

import com.richard.base.BaseApplication
import com.richard.base.net.common.NetComponent
import com.richard.base.route.KsRouterHelper
import com.richard.base.util.FileUtil
import com.wxy.appstartfaster.task.AppStartTask

/**
 ***************************************
 * 项目名称:KsLightLearn
 * @Author wuzhiguo
 * 邮箱：wuzhiguo@ksjgs.com
 * 创建时间: 2020/6/3     11:22 AM
 * 用途:
 ***************************************

 */

class InitFileTask :AppStartTask(){
    override fun run() {
        FileUtil.initFile(BaseApplication.instance)
    }

    override fun isRunOnMainThread(): Boolean {
        return true
    }

    override fun getDependsTaskList(): MutableList<Class<out AppStartTask>> {
        return mutableListOf(InitArouterTask::class.java)
    }




}